home *** CD-ROM | disk | FTP | other *** search
- Subject: Re(2): Not Displaying Save Dialog
- Sent: 9/18/96 9:52 AM
- Received: 9/18/96 9:52 AM
- From: Troy Gaul <tgaul@apple.com>
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List
-
-
- >>:>>If a user opens a document with read/write permission and then closes it
- >>:>>without modifing it, a dialog opens asking to save the document. How do
- >>:>>I prevent the dialog from coming up.
- >>:>
- >>:>This shouldn't happen normally. However, there are occasions that I know of
- >>:>when this will happen. It occurs when OpenDoc must update some information
- >>:>about the document in order to sync it with the file system (updating its
- >>:>name, for example). This marks the document as dirty and that's why you
- >>:>see the save dialog.
- >>:
- >>:This also happens when the user scrolls the document. Try this with
- >>:ODFDraw: open an ODFDraw document, scroll it, and then close it. The user
- >>:thinks he made no modification, but OpenDoc thinks otherwise.
- >>
- >>Perhaps ODFDraw externalizes some description related to scrolling. In
- >>this case it is ODFDraw that thinks otherwise. OpenDoc must honor parts'
- >>ideas about when content is changed, because OpenDoc cannot know about
- >>all kinds of content.
- >
- >Can someone from the ODF team comment on this?
-
- I'm not on the ODF team, but I'll comment anyway. ODFDraw changes the
- internal transform of the frame (which is persistent). This causes OpenDoc
- to 'dirty' the document.
-
- _troy
-
- ......................................................................
- Troy Gaul tgaul@apple.com
- Apple Computer, Inc. OpenDoc Parts